<layout name="layout"/>

<p>
<!-- Button trigger modal -->
<a class="uk-button uk-button-primary" href="__CONTROLLER__/add">
{$Think.lang.add_new}
</a>
</p>

<form class="uk-form">
    <div class="uk-grid">
		<div class="uk-width-1-4">#:<input type="text" name="aff_id" placeholder="" class="uk-width-1-1"></div>
        <div class="uk-width-1-4">{$Think.lang.email}:<input type="text" name="aff_email" placeholder="" class="uk-width-1-1"></div>
		 <div class="uk-width-1-4">{$Think.lang.name}:<input type="text" name="aff_name" placeholder="" class="uk-width-1-1"></div>
    </div>
	<p>
<button type="submit" class="uk-button uk-button-danger">{$Think.lang.search}</button>
</p>
</form>

          <div class="uk-overflow-container">
            <table class="uk-table uk-table-hover uk-table-striped uk-table-condensed">
	<thead>
		<th>#</th>		<th>{$Think.lang.name}</th>		<th>{$Think.lang.email}</th>		
		<th>{$Think.lang.balance}</th>	<th>{$Think.lang.status}</th> <th>{$Think.lang.country}</th>	<th>{$Think.lang.add_time}</th>		<th>--</th>
	</thead>
	<tbody>
		<volist name="list" id="vo">
		<tr>
			<td><a href="__CONTROLLER__/details/{$vo.aff_id}">{$vo.aff_id}</a></td><td>{$vo.aff_name}</td>
			<td>{$vo.aff_email}</td><td>{$vo.aff_balance}</td><td>{$vo.aff_isactive|displayIcon}</td>
			<td>{$vo.aff_country}</td><td>{$vo.aff_regtime}</td>
			<td>
				<a href="__MODULE__/Resellermerchant/index/aff_id/{$vo.aff_id}">
					{$Think.lang.view_merchant}
				</a>			
			</td>
		</tr>
		</volist>
	</tbody>
</table>
</div>
{$page}
